package cn.javazd.resource.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import cn.javazd.resource.service.CrmContentService;

@RestController
@RequestMapping("content")
public class ContentController {

	@Autowired
	private CrmContentService crmContentService;

    @GetMapping("list")
	public Object list() {
		return crmContentService.list();
	}

}
